{template "header.html", "/"}

<div class="page-container">
    <div class="page-content-wrapper">

        <div class="page-content">
            <div class="container">

                <ul class="page-breadcrumb breadcrumb">
                    <li><a href="{SITE_URL}">首页</a><i class="fa fa-angle-right"></i></li>
                    {if defined('IS_SHARE') && !IS_SHARE}
                    <li><a href="{MODULE_URL}">{MODULE_NAME}</a><i class="fa fa-angle-right"></i></li>
                    {/if}
                    {dr_catpos($catid, '', 1, '<li><a href="{url}">{name}</a><i class="fa fa-angle-right"></i></li>'.PHP_EOL)}
                    <li> <span>正文</span></li>
                </ul>


                <div class="news-content row">

                    <div class="col-md-8">
                        <div class="news-body">
                            <h4 class="title text-center">{$title}</h4>
                            <div class="title-btn text-center">
                                <label>
                                    <i class="fa fa-user"></i> {$author}
                                </label>
                                <label>
                                    <i class="fa fa-calendar"></i> {$updatetime}
                                </label>
                                <label>
                                    <i class="fa fa-eye"></i> {dr_show_hits($id)}次
                                </label>
                                <label class="">
                                    <i class="fa fa-comments"></i> {$comments}
                                </label>
                                <label class="">
                                    <i class="fa fa-flag"></i>  <a href="javascript:dr_module_favorite('{MOD_DIR}', '{$id}', 0);">加入收藏</a>
                                </label>
                            </div>

                            <div class="news-summary">
                                <em>摘要：</em>
                                {$description}
                            </div>

                            <div class="news-content">
                                {$content}
                            </div>
                            <div class="news-keyword">
                                <div class="news-keyword-tags">
                                    {loop $keyword_list $name $url}
                                    <label>
                                        <a href="{$url}" target="_blank">{$name}</a>
                                    </label>
                                    {/loop}
                                </div>
                                <div class="news-next-prev">
                                    <p><strong>上一篇：</strong>{if $prev_page}<a href="{$prev_page.url}">{$prev_page.title}</a>{else}没有了{/if}</p>
                                    <p><strong>下一篇：</strong>{if $next_page}<a href="{$next_page.url}">{$next_page.title}</a>{else}没有了{/if}</p>
                                </div>
                            </div>
                        </div>
                        <div class="news-comments-top">
                            <h4>网友留言评论</h4>
                            <div class="count"><span class="num">{$comments}</span>条评论</div>
                        </div>
                        <div class="news-comments-body">
                            {dr_module_comment(MOD_DIR, $id)}
                        </div>
                    </div>

                    <div class="col-md-4">
                        <div class="news-hits-body">
                            <div class="ctitle">相关文章</div>
                            <ul class="news">
                                <!--此标签用于调用相关文章，tag=关键词1,关键词2，多个关键词,分隔，num=显示条数，field=显示字段-->
                                {related id=$id catid=$catid tag=$tag num=10}
                                <li><a href="{$t.url}" title="{$t.title}">{dr_strcut($t.title, 24)}</a></li>
                                {/related}
                            </ul>
                        </div>
                        <div class="news-hits-body">
                            <div class="ctitle">图文资讯</div>
                            <ul class="image">
                                {module catid=$catid thumb=1 num=10}
                                <li>
                                    <div class="pic"><a href="{$t.url}"><img src="{dr_thumb($t.thumb)}"></a></div>
                                    <div class="con">
                                        <h5><a href="{$t.url}">{dr_strcut($t.title, 30)}</a></h5>
                                        <p>{$t.updatetime}</p>
                                    </div>
                                </li>
                                {/module}
                            </ul>
                        </div>
                        <div class="news-hits-body">
                            <div class="ctitle">最新排行</div>
                            <ul class="news">
                                {module catid=$catid num=10}
                                <li><a href="{$t.url}" title="{$t.title}">{dr_strcut($t.title, 20)}</a></li>
                                {/module}
                            </ul>
                        </div>
                    </div>


                </div>

            </div>
        </div>

    </div>

</div>


{template "footer.html", "/"}